/*
 * Copyright (c) 2005-2007 feyaSoft Corp. All Rights Reserved.
 */
package com.feyaSoft.plugin.base;

import java.util.regex.Pattern;

/**
 * @author fzhuang
 * 
 * @Created at Nov 10, 2006
 * @Updated at Nov 10, 2006
 * 
 * This class is set to hold the general key for feya soft
 */
public class FeyaSoftKey {
	// general
	public static final String ENGLISH = "English";
	public static final String FRENCH = "French";
	public static final String SPANISH = "Spanish";
	public static final String LANG_EN = "en";
	public static final String LANG_FR = "fr";

	// set key for encryp the estimate information
	// do not change this, it is salt for decrypt
	public final static String DES_ENCRYPT_KEY = "jh&5(k+shs6FJKL";

	// escape time - time out
	public static final long SESSION_TIME_OUT_TIME = 45 * 60 * 1000;

	public static final Pattern EMAIL_PATTERN = Pattern
			.compile("^\\w+([_\\.-]\\w+)*@(\\w+([_\\.-]\\w+)*)");
	public static final Pattern SPACE_PATTERN = Pattern.compile("\\s+");
	
	// for email server, username password
	public static final String MAIL_SERVER_USERNAME="xxxxx";
	public static final String MAIL_SERVER_PW="xxxxx";
	public static final String MAIL_SERVER_HOST="xxxxx";
}
